<?php defined('SYSPATH') OR die('No direct access allowed.'); ?>
<?php echo $cabecalho; ?>
<?php echo $menu_esq; ?>
<div id="mainContent">
<h1>Novo Aluno</h1>
<div><?php echo $msg;?></div>
<table width="100%" border="1">
<?php echo form::open("sa/aluno/salvar"); ?>
      <tr>
        <td>nome</td>
        <td>valor</td>
      </tr>
	  <tr>
        <td>nome</td>
        <td><?php echo form::input("nome", $form['nome']); ?></td>
      </tr>
      <tr>
        <td>data nascimento</td>
        <td><?php echo form::input("data_nasc", $form['data_nasc']); ?></td>
      </tr>
      <tr>
        <td>rg</td>
        <td><?php echo form::input("rg", $form['rg']); ?></td>
      </tr>
      <tr>
        <td>cpf</td>
        <td><?php echo form::input("cpf", $form['cpf']); ?></td>
      </tr>
      <tr>
        <td>estado</td>
        <td><?php echo form::dropdown("estado", $estado, $form['estado']); ?></td>
      </tr>
      <tr>
        <td>fone</td>
        <td><?php echo form::input("fone", $form['fone']); ?></td>
      </tr>
      <tr>
        <td>sexo</td>
        <td><?php echo form::dropdown("sexo", $sexo, $form['sexo']); ?></td>
      </tr>
      <tr>
        <td>escola</td>
        <td><?php echo form::input("escola", $form['escola']); ?></td>
      </tr>
      <tr>
        <td>responsavel</td>
        <td><?php echo form::input("responsavel", $form['responsavel']); ?></td>
      </tr>
      <tr>
        <td>logradouro</td>
        <td><?php echo form::input("logradouro", $form['logradouro']); ?></td>
      </tr>
      <tr>
        <td>bairro</td>
        <td><?php echo form::input("bairro", $form['bairro']); ?></td>
      </tr>
      <tr>
        <td>email</td>
        <td><?php echo form::input("email", $form['email']); ?></td>
      </tr>
      <tr>
        <td>periodo ingresso</td>
        <td><?php echo form::dropdown("periodo_ingresso", $periodos, $form['periodo_ingresso']); ?></td>
      </tr>
      <tr>
        <td>forma_ingresso</td>
        <td><?php echo form::dropdown("forma_ingresso", $forma_ingresso, $form['forma_ingresso']); ?></td>
      </tr>
      
      <tr>
        <td><?php echo form::submit('enviar', 'Criar')?>&nbsp;</td>
        <td><?php echo html::anchor('sa/aluno/listar/', 'Voltar'); ?>&nbsp;</td>
      </tr>
    </table>
<?php echo form::hidden('acao', 'criar'); ?>
<?php echo form::close(); ?>
<!-- end #mainContent --></div>
<?php echo $rodape; ?>